//
// Created by denglibin on 2021/6/1.
//

#ifndef SDL_DEMO_FUN_H
#define SDL_DEMO_FUN_H
#include <SDL.h>
/**
 * 根据图片获取纹理
 * @param img
 * @param renderer
 * @return
 */
SDL_Texture * createTexture(const char* img, SDL_Renderer* renderer);
#endif //SDL_DEMO_FUN_H
